$E0 $FF #jsr changePause

#asm changePause
{
	mov a, !SpeedUpBackUp	;\
	mov $0387, a			;/ Restore the tempo.
	
	mov a, #$01			;\ Set pause flag to solve issue when doing start+select quickly
	mov !PauseMusic, a	;/
	
	mov $f2, #$5c		; \ Key off voices
	mov $f3, #$ff		; / (so the music doesn't restart playing when using start+select)

	dec a
	mov $f2, #$2c		;\
	mov $f3, a		;| Mute echo.
	mov $f2, #$3c		;|
	mov $f3, a		;/

	clr1 !NCKValue.6		; Unset the mute flag.
	jmp SetFLGFromNCKValue
}